package com.chen.common.dataSource.annotation;

import com.chen.common.dataSource.aop.DataSourceAop;
import com.chen.common.dataSource.config.DynamicDataSourceConfig;
import com.chen.common.dataSource.property.SpringDataSourceProperty;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @Author: ChenJinLong
 * @DateTime: 2023/9/8 15:41
 **/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({
        DataSourceAop.class,
        DynamicDataSourceConfig.class,
        SpringDataSourceProperty.class
})
public @interface EnableDynamicDS {
}
